arm: lib: import muldi3.S from Linux
authorMarek Vasut <[email protected]>
Thu, 26 May 2016 16:01:44 +0000 (18:01 +0200)
committerTom Rini <[email protected]>
Fri, 3 Jun 2016 01:21:46 +0000 (21:21 -0400)
commit0bf65c6422d51768bc30735dbd97cf66f09a0450
treedca234426d819fab0723a763fb751f5fa52e052f
parent40d67c75e47e2e76cc310515c55d758151b9fdde
arm: lib: import muldi3.S from Linux

Import muldi3.S from Linux 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326
on arm32. This file implements __aeabi_lmul and it's alias __muldi3, which
is needed when doing Thumb1 builds.

This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
which is necessary for correct build of these files both in ARM and
Thumb mode, just like Linux does.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
arch/arm/lib/Makefile
arch/arm/lib/muldi3.S [new file with mode: 0644]